package cn.toolck.service;

import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

@Service
public class ConsumerService {
    @Reference
    private ServiceA serviceA;
    @Reference
    private ServiceB serviceB;
    @Reference
    private ServiceC serviceC;

    public String callA(String name) {
        return serviceA.callA(name);
    }
    public String callA2(String name) {
        return serviceA.callA2(name);
    }
    public String callA3(String name) {
        return serviceA.callA3(name);
    }

    public String callB(String name) {
        return serviceB.callB(name);
    }

    public String callC(String name) {
        return serviceC.callC(name);
    }
}
